
FROM  openjdk:8-jdk

ADD ./dxp-icpserver.jar /root/app.jar
WORKDIR /root

VOLUME /root/logs/dxp/icpserver

EXPOSE 9710

#ENV JAVA_OPTS "-server -Xms64M -Xmx512M -Xss1M -XX:MinHeapFreeRatio=30 -XX:MaxHeapFreeRatio=50 -XX:MaxMetaspaceSize=64M -XX:MinMetaspaceFreeRatio=20 -XX:MaxMetaspaceFreeRatio=30 -Duser.timezone=GMT+08"
ENTRYPOINT ["java", "-server", "-Xms64M", "-Xmx512M", "-Duser.timezone=GMT+08","-jar", "/root/app.jar"]
